package util;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;

public class TimeUtil {
    private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    private TimeUtil() { }

    public static String format(Timestamp timestamp) {
        return sdf.format(timestamp);
    }
}
